<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>cpio</Name>
        <Homepage>http://www.gnu.org/software/cpio/cpio.html</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv3</License>
        <IsA>app:console</IsA>
        <Summary>A file archival tool which can also read and write tar files</Summary>
        <Description>GNU cpio copies files into or out of a cpio or tar archive. The archive can be another file on the disk, a magnetic tape, or a pipe. GNU cpio supports the following archive formats: binary, old ASCII, new ASCII, crc, HPUX binary, HPUX old ASCII, old tar, and POSIX.1 tar.</Description>
        <Archive sha1sum="60358408c76db354f6716724c4bcbcb6e18ab642" type="tarbz2">mirrors://gnu/cpio/cpio-2.12.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>texinfo</Dependency>
        </BuildDependencies>
        <Patches>
            <!--Patch level="1">cpio-2.7-svr4compat.patch</Patch-->
            <Patch level="1">cpio-2.9-exitCode.patch</Patch>
            <Patch level="1">CVE-2010-0624-rpatelib-overflow.patch</Patch>
            <Patch level="1">cpio-2.12-name-overflow.patch</Patch>
            <Patch level="1">cpio-2.12-non-gnu-compilers.patch</Patch>
            <Patch level="1">cpio-2.12-no-overwrite-symlinks.patch</Patch>
            <Patch level="1">cpio-2.12-svr4compat.patch</Patch>
            <Patch level="1">CVE-2010-0624-rpatelib-overflow.patch</Patch>
            <Patch level="1">cpio-2.12-gcc-10.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>cpio</Name>
        <Files>
            <Path fileType="executable">/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="info">/usr/share/info</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
    </Package>

    <History>
        <Update release="6">
            <Date>2020-12-09</Date>
            <Version>2.12</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2019-12-27</Date>
            <Version>2.12</Version>
            <Comment>Rebuild</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-07-15</Date>
            <Version>2.12</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-23</Date>
            <Version>2.12</Version>
            <Comment>Reubild.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>2.12</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-01</Date>
            <Version>2.12</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
